LINALG
Source Files
Modules
Procedures
Derived Types
inverse
Function
22 statements
Source File
linear_algebra.f90
linear_algebra
inverse
Contents
public pure function inverse(a) result(rst)
Computes the inverse of a square matrix.
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=real64),
intent(in),
dimension(:,:)
::
a
The N-by-N matrix to invert.
Return Value
real(kind=real64), allocatable, dimension(:,:)
The N-by-N inverted matrix.